package com.yihu.wlyy.entity;

import java.sql.Timestamp;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * WlyySignFamilyCode entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wlyy_sign_family_code")
public class WlyySignFamilyCode implements java.io.Serializable {

	// Fields

	private String id;
	private String orgCode;
	private String orgName;
	private Integer sequence;
	private Date modifyTime;

	// Constructors

	/** default constructor */
	public WlyySignFamilyCode() {
	}

	/** minimal constructor */
	public WlyySignFamilyCode(Timestamp modifyTime) {
		this.modifyTime = modifyTime;
	}

	/** full constructor */
	public WlyySignFamilyCode(String orgCode, String orgName, Integer sequence,
			Timestamp modifyTime) {
		this.orgCode = orgCode;
		this.orgName = orgName;
		this.sequence = sequence;
		this.modifyTime = modifyTime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "org_code", length = 50)
	public String getOrgCode() {
		return this.orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Column(name = "org_name", length = 200)
	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	@Column(name = "sequence")
	public Integer getSequence() {
		return this.sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	@Column(name = "modify_time", length = 0)
	public Date getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}


}